define("vw.config.template", function() {
	var template = {
		sysConfig: '<ul class="nav navbar-nav" style="padding-top:5px">' +
			'	{{#group}}<li class="dropdown">' +
			'		<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button">{{groupName}}<span class="caret"></span></a>' +
			'		<ul class="dropdown-menu">' +
			'			{{#function}}<li><a class="btn" href="#" id="{{id}}"><i class="{{icon}}"></i>&nbsp;&nbsp;{{title}}</a></li>{{/function}}' +
			'		</ul>' +
			'	</li>{{/group}}' +
			'</ul>',

		menuList: '<ul class="list-unstyled">' +
			'	{{#item}}<li><a href="#" id="menulist_{{id}}" tablename="{{tablename}}">{{title}}</a></li>{{/item}}' +
			'</ul>',

		mapTooltip: '<p class="mapTooltip_title">{{title}}</p>' +
			'<ul class="mapTooltip_info">' +
			'	<li class="mapTooltip_divider"></li>' +
			'	{{#cols}}<li class="mapTooltip_prop">' +
			'		<span>{{title}}：</span>' +
			'		<span>{{info}}</span>' +
			'	</li>{{/cols}}' +
			'</ul>' +
			'<p class="mapTooltip_tag"></p>',

		legend: '<div class="legend_subject">' +
			'	{{#legends}}<div class="legend_line" style="height:{{lineHeight}};line-height:{{lineHeight}}">' +
			'		<div style="background:{{color}};border-radius:{{radius}};width:{{width}};height:{{height}};margin-top:{{marginTop}};margin-left:{{marginLeft}};"></div>' +
			'		<span>{{label}}</span>' +
			'	</div>{{/legends}}' +
			'</div>',

		display_row: '<div class="row" style="padding-bottom:10px" id="row_{{rowindex}}"></div>',


		display_dashBoard: '<div class="col-md-{{colspan}}">' +
			'	<div class="dashboard-stat {{color}}">' +
			'		<div class="visual_multi">' +
			'			<i class="{{icon}}"></i>' +
			'			<div class="title_multi">{{title}}</div>' +
			'		</div>' +
			'		{{#indiatorData}}<div class="details">' +
			'			<div class="desc_multi">{{caption}}</div>' +
			'			<div class="number_multi">{{value}}<small>{{unit}}</small></div>' +
			'		</div>{{/indiatorData}}' +
			'		{{#detail}}<a class="more" id="vw_detail_{{name}}" href="#">' +
			'			详细信息<i class="fa fa-arrow-circle-o-right"></i>' +
			'		</a>{{/detail}}' +
			'		{{^detail}}<a class="more">{{more}}</a>{{/detail}}' +
			'	</div>' +
			'</div>',

		display_portlet: '<div class="col-md-{{colspan}}">' +
			'	<div class="portlet {{style}} {{color}}">' +
			'		<div class="portlet-title">' +
			'			<div class="caption">' +
			'				<i class="{{icon}}"></i>{{title}}' +
			'			</div>' +
			'			<div class="tools">' +
			'				{{#fn}}<a class="btn" id="{{fnID}}" href="#" style="padding:0 !important">' +
			'					<i class="{{fnIcon}}"></i>{{fnText}}' +
			'				</a>{{/fn}}' +
			'				{{#detail}}<a id="vw_detail_{{name}}" href="#" style="padding:0 !important">' +
			'					<i class="fa fa-arrow-circle-o-right"></i>' +
			'				</a>{{/detail}}' +
			'			</div>' +
			'		</div>' +
			'		<div class="portlet-body">' +
			'			<div id="portlet_content_{{id}}"></div>' +
			'		</div>' +
			'	</div>' +
			'</div>',

		display_text: '<div style="width:100%">' +
			'	{{#items}}<div class="text-muted {{highlight}}" style="padding: 5px 0">' +
			'		<span style="font-weight:bold;float:left">{{caption}}</span>' +
			'		<span style="float:right">{{value}}</span>' +
			'	</div></br>{{/items}}' +
			'</div>',

		display_table: '<table class="displayTable">' +
			'	<tr>{{#cols}}<th>{{.}}</th>{{/cols}}</tr>' +
			'	{{#rows}}<tr>{{#cells}}<td>{{{.}}}</td>{{/cells}}</tr>{{/rows}}' +
			'</table>',

		display_picture: '<div id="pics" class="carousel slide" data-ride="carousel">' +
			'	<ol class="carousel-indicators">' +
			'		{{#items}}<li data-target="#pics" data-slide-to="{{id}}" class="{{active}}"></li>{{/items}}' +
			'	</ol>' +
			'	<div class="carousel-inner" role="listbox">' +
			'		{{#items}}<div class="item {{active}}">' +
			'			<img src="{{url}}">' +
			'			<div class="carousel-caption">{{name}}</div>' +
			'		</div>{{/items}}' +
			'	</div>' +
			'	<a class="left carousel-control" href="#pics" role="button" data-slide="prev">' +
			'		<span class="glyphicon glyphicon-chevron-left"></span>' +
			'	</a>' +
			'	<a class="right carousel-control" href="#pics" role="button" data-slide="next">' +
			'		<span class="glyphicon glyphicon-chevron-right"></span>' +
			'	</a>' +
			'</div>',
	};
	return template;
});